package com.tbit.uqbike.constant;

/**
 * @Author:BUGTian
 * @DATE: 2022/5/24
 */
public class SubAccountConstant {

    /**
     * 主账号
     */
    public static final Integer MASTER_ACCOUNT = 0;

    /**
     * 从账号
     */
    public static final Integer SLAVE_ACCOUNT = 1;

    /**
     * memberId前缀
     */
    public static final String MEMBER_ID_PRE = "uqbikeSubAccount";

    /**
     * 审核中
     */
    public static final Integer REVIEW = 0;

    /**
     * 正常
     */
    public static final Integer NORMAL = 1;

    /**
     * 已删除
     */
    public static final Integer DELETE = 2;

    /**
     * 异常
     */
    public static final Integer ABNORMAL = 3;

    /**
     * 结算用户创建成功标识
     */
    public static final String SUCCESS_SETTLE_ACCOUNT = "true";
    /**
     * 实名用户创建成功标识
     */
    public static final String SUCCESS_MEMBER = "Y";


    /**
     * 分账比例设置未生效
     */
    public static final Integer UN_ACTIVE = 0;

    /**
     * 分账比例设置生效中
     */
    public static final Integer ACTIVE = 1;

    /**
     * 分账比例设置已过期
     */
    public static final Integer ACTIVE_OVER = 2;

    /**
     * 提现中
     */
    public static final Integer WITHDRAWAL_ING = 1;

    /**
     * 提现成功
     */
    public static final Integer WITHDRAWAL_SUCCESS = 2;

    /**
     * 提现失败
     */
    public static final Integer WITHDRAWAL_ERROR = 3;


    /**
     * 自动提现
     */
    public static final Integer WITHDRAWAL_TYPE_AUTO = 0;

    /**
     * 手动提现
     */
    public static final Integer WITHDRAWAL_TYPE_MANUAL = 1;

    /**
     * 默认商户id
     */
    public static final String MERCHANTS_MEMBER_ID = "0";

    /**
     * 分账类型-区域分账
     */
    public static final int AREA_DIVIDE = 1;

    /**
     * 分账类型-车辆分账
     */
    public static final int MACHINE_DIVIDE = 2;

}
